package com.steed.app.one;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Description: Springboot 启动类
 *
 * @author Tony Zhu
 * @since 1.0-SNAPSHOT
 */
@SpringBootApplication
@EnableFeignClients(value = {"com.steed.*"})
public class AppOneApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppOneApplication.class);
    }

    protected SpringApplicationBuilder configure(
            SpringApplicationBuilder builder) {
        return builder.sources(AppOneApplication.class);
    }
}
